package com.cloudbroker.bcs.platform.dav.middle.extservice.weixin;

import com.cloudbroker.bcs.platform.dav.bizapi.service.business.wechat.vo.WechatPayCallback;

import java.util.Map;

/**
 * Created by wangxu13798 on 2016/3/15.
 */
public interface WeixinService {
    /**
     * 通过code获取access_token
     *//*
    public String getAccessTokenByCode(Map<String, Object> param);

    *//**
     * 使用access_token获取用户信息
     *//*
    public String getUserinfoByAccessToken(Map<String, Object> param);

    *//**
     * 使用code获取用户信息
     *//*
    public String getUserinfoByCode(Map<String, Object> param);

    *//**
     * 获取调用微信支付JS-SDK的参数数据
     *//*
    public Map<String,String> getPayData(Map<String, String> param);

    *//**
     * 获取AccessToken
     *//*
    public Map<String, String> AccessToken();

    *//**
     * 获取调用微信JS-SDK的参数数据
     *//*
    public Map<String,String> getTicket();

    */
    /**
     * 微信支付异步回调
     */
    public Map<String,Object> payCallback(WechatPayCallback param);


}
